package com.lg.system;

import java.util.List;

public class CParPage implements java.io.Serializable {

	private String formName;
	private String tableName;
	private static final int firstPage = 1;//第一页
	private int curPage;//当前页
	private int totalCount;//总记录数
	private int totalPage;//总页数
	private List sqlList = null;
	private String sqlStr;//查询语句
	private int perPageRows = 10;//每页行数
	private int perStartIndex = 0;//每页开始位置
	private Object obj = null;//传过来的参数对象
	/**
	 * @return curPage
	 */
	public int getCurPage() {
		return curPage;
	}
	/**
	 * @param curPage 要设置的 curPage
	 */
	public void setCurPage(int curPage) {
		this.curPage = curPage;
	}
	/**
	 * @return formName
	 */
	public String getFormName() {
		return formName;
	}
	/**
	 * @param formName 要设置的 formName
	 */
	public void setFormName(String formName) {
		this.formName = formName;
	}
	/**
	 * @return obj
	 */
	public Object getObj() {
		return obj;
	}
	/**
	 * @param obj 要设置的 obj
	 */
	public void setObj(Object obj) {
		this.obj = obj;
	}
	/**
	 * @return perPageRows
	 */
	public int getPerPageRows() {
		return perPageRows;
	}
	/**
	 * @param perPageRows 要设置的 perPageRows
	 */
	public void setPerPageRows(int perPageRows) {
		this.perPageRows = perPageRows;
	}
	/**
	 * @return perStartIndex
	 */
	public int getPerStartIndex() {
		return perStartIndex;
	}
	/**
	 * @param perStartIndex 要设置的 perStartIndex
	 */
	public void setPerStartIndex(int perStartIndex) {
		this.perStartIndex = perStartIndex;
	}
	/**
	 * @return sqlList
	 */
	public List getSqlList() {
		return sqlList;
	}
	/**
	 * @param sqlList 要设置的 sqlList
	 */
	public void setSqlList(List sqlList) {
		this.sqlList = sqlList;
	}
	/**
	 * @return sqlStr
	 */
	public String getSqlStr() {
		return sqlStr;
	}
	/**
	 * @param sqlStr 要设置的 sqlStr
	 */
	public void setSqlStr(String sqlStr) {
		this.sqlStr = sqlStr;
	}
	/**
	 * @return tableName
	 */
	public String getTableName() {
		return tableName;
	}
	/**
	 * @param tableName 要设置的 tableName
	 */
	public void setTableName(String tableName) {
		this.tableName = tableName;
	}
	/**
	 * @return totalCount
	 */
	public int getTotalCount() {
		return totalCount;
	}
	/**
	 * @param totalCount 要设置的 totalCount
	 */
	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}
	/**
	 * @return totalPage
	 */
	public int getTotalPage() {
		return totalPage;
	}
	/**
	 * @param totalPage 要设置的 totalPage
	 */
	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}
}
